package com.yikome.product.entity;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

import com.yikome.common.BaseEntity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@Entity
@Table(name = "p_product_attribute" , indexes = {@Index(columnList = "productId")})
public class ProductAttribute extends BaseEntity {

	private static final long serialVersionUID = -7680906310661464850L;

	private Long productId ; 
	
	private String name ; 
	
	private Integer priority ; 
}
